import { request } from '../request.js'
const interact = {
	initData (params) {
	  return request({
	    method: 'Get',
	    url: '/api/goods/front/buyershow/getList',
	    params: params
	  })
	},
	initByGoodsId (params) {
	  return request({
	    method: 'Get',
	    url: '/api/goods/front/buyershow/getList/'+params,
	    params: params
	  })
	},
	update(params) {
	  return request({
	    method: 'Post',
	    url: '/api/goods/front/buyershow/chgPraiseCount',
	    params: params
	  })
	},
	detail(params) {
	  return request({
	    method: 'Get',
	    url: '/api/goods/front/buyershow/queryDetails/'+params
	  })
	}
	}
export default interact